package com.taobao.pamirs.schedule.test;


import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.taobao.pamirs.schedule.strategy.TBScheduleManagerFactory;

/**
 * ���Ȳ���
 * @author xuannan
 *
 */
@RunWith(SpringJUnit4ClassRunner.class)  
@ContextConfiguration({"classpath:schedule.xml"})  
public class StartDemoSchedule 
{
	@Autowired
	TBScheduleManagerFactory scheduleManagerFactory;
	
    public void setScheduleManagerFactory(
			TBScheduleManagerFactory tbScheduleManagerFactory) {
		this.scheduleManagerFactory = tbScheduleManagerFactory;
	}
	@Test    
	public void testRunData() throws Exception {
		Thread.sleep(100000000000000L);
	}
}
